package com.vavr.checkincms.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.vavr.checkincms.domain.bo.CheckinBO;
import java.io.IOException;

/**
 * CheckinService
 *
 * @since 2024.08
 */
public interface CheckinService {
    /**
     * 签到
     *
     * @param checkinBO {@link CheckinBO}
     * @param request {@link HttpServletRequest}
     * @param response {@link HttpServletResponse}
     */
    void checkin(CheckinBO checkinBO, HttpServletRequest request, HttpServletResponse response);

    /**
     * 跳转ai问答
     *
     * @param bo {@link CheckinBO}
     * @param request {@link HttpServletRequest}
     * @param response {@link HttpServletResponse}
     */
    String toChat(CheckinBO bo, HttpServletRequest request, HttpServletResponse response) throws IOException;
}
